using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
namespace Acms.AcmsControls
{

    public class AcmsForm : System.Web.UI.HtmlControls.HtmlForm
    {
        protected override void RenderAttributes(System.Web.UI.HtmlTextWriter writer)
        {
            writer.WriteAttribute("name", this.Name);
            base.Attributes.Remove("name");

            writer.WriteAttribute("method", this.Method);
            base.Attributes.Remove("method");

            writer.WriteAttribute("action", this.Page.Request.RawUrl);
            base.Attributes.Remove("action");

            this.Attributes.Render(writer);
            if (base.ID != null)
                writer.WriteAttribute("id", base.ClientID);
        }

    }
}
